package com.zboin.ucenter.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @author zhboom
 * @date 2025/8/4 23:13
 */
@TableName(schema = "user_center", value = "role_group")
public class RoleGroup implements Serializable {

    @TableId
    private Integer groupId;
    @TableField(value = "group_name")
    private String groupName;
    @TableField(value = "parent_id")
    private Integer parentId;
    @TableLogic(value = "1", delval = "0")
    private Integer isValid;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
